<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS字体属性之字体粗细</title>
    <style>
        .bold {
            /* font-weight: bold; */
            /* 700后面不加单位 */
            font-weight: 700;
        }

        h2 {
            font-weight: 400;
            /* normal */
        }
    </style>
</head>

<body>
    <h2>渔家傲·天接云涛连晓雾</h2>
    <p>天接云涛连晓雾，星河欲转千帆舞。</p>
    <p>仿佛梦魂归帝所。</p>
    <p>闻天语，殷勤问我归何处。</p>
    <p>我报路长嗟日暮，学诗谩有惊人句。</p>
    <p class="bold">九万里风鹏正举。</p>
    <p>风休住，蓬舟吹取三山去！</p>
</body>

</html>